use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Fri, 31 Jan 2020 23:47:27 +0000 (23:47 +0000)
committerBernd Zeimetz <bzed@debian.org>
Fri, 31 Jan 2020 23:47:27 +0000 (23:47 +0000)
commit7bed0a61e72c54313c7e04e56b396346a57e2ef3
treee5948c4d086bbf2b284db4cf8985d7b04cd86302
parentf8273e09c74c22c7d7c1757009ef8631ce28ee4d
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch
src/java/CMakeLists.txt